import java.awt.*;
public class OCPMain{
	public static void main(String[] args){
		Shape[] obj = new Shape[2];
		obj[0] = new OCPRectangle(2,10);
		obj[1] = new Circle(3);

		AreaCalculator ac = new AreaCalculator();
		int temp = ac.Area(obj);
		System.out.println(temp);

	}
}
